from django.conf.urls.defaults import *

urlpatterns = patterns('domains.views',
    (r'^$','list_domains'),
    url(r'^(?P<domain_id>\d+)/$', 'domain_detail', name='domain-detail'),
    url(r'^(?P<domain_id>\d+)/update/$', 'soa_update', name='soa-update'),
    url(r'^(?P<domain_id>\d+)/zone/(?P<zone_id>\d+)/$', 'update_zone', name="update-zone"),
    url(r'^(?P<domain_id>\d+)/zone/add/$', 'add_zone', name="add-zone"),
)
